[Refactor] - admin 배포 설정 및 리팩토링#49
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (21)
📝 WalkthroughWalkthroughAdmin 애플리케이션의 페이지 구조를 정규화하고 라우팅을 개선하는 리팩토링입니다. 에러 처리 페이지를 추가하고, 페이지 컴포넌트 이름을 간결하게 정규화하며, 라우터를 중첩 구조로 재구성합니다. Vercel 배포를 위한 설정도 추가됩니다. ChangesAdmin 페이지 및 라우팅 리팩토링
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
apps/admin/src/pages/GlobalError/GlobalError.tsxESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox. apps/admin/src/pages/Login/Login.tsxESLint skipped: the ESLint configuration for this file references a package that is not available in the sandbox. apps/admin/src/pages/Login/components/LoginForm.tsxESLint skipped: the ESLint configuration for this file references a package that is not available in the sandbox.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 CI 검증 결과
|
🔍 CI 검증 결과
|
✨ 주요 변경사항
Page접미사를 제거해 폴더/컴포넌트 이름을 일관화 (LoginPage→Login,UserDetailPage→UserDetail,UsersListPage→UsersList)GlobalError)와 404 페이지(NotFound) 컴포넌트 추가errorElement로 전역 에러를 연결하고, catch-all 라우트를Navigate대신NotFound로 교체apps/admin/vercel.json추가📝 작업 상세 내용
errorElement를 두는 형태로 정리해, 보호 라우트/레이아웃 어디서 에러가 터지든 동일한 에러 페이지를 보여주도록 했습니다./users로 강제 리다이렉트되었는데, 이제NotFound를 보여주도록 변경했습니다.vercel.json은/(.*) → /index.htmlrewrite만 추가해 SPA 라우팅의 새로고침/직접 접근 케이스를 처리합니다.✅ 체크리스트
Close #번호추가📸 스크린샷 (선택)
🔍 기타 참고사항
vercel.json은 admin 앱 전용이며 web에는 영향 없습니다.🔗 관련 이슈
Summary by CodeRabbit
릴리스 노트
New Features
Refactor